package model;

public class UserModel implements java.io.Serializable{
	
	private int id;
	private String username;
	private String email;
	private String bio;
	private String userrole;
	
	public UserModel(){
		this.id=-1;
		this.username="";
		this.email="";
		this.bio="";
	}
	
	public UserModel(int id, String username, String email, String bio){
		this.id=id;
		this.username=username;
		this.email=email;
		this.bio=bio;
	}
	
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getBio() {
		return bio;
	}

	public void setBio(String bio) {
		this.bio = bio;
	}

	public int getId() {
		return id;
	}
	
	public String getIdString(){
		return ""+id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}

	public String getUserrole() {
		return userrole;
	}

	public void setUserrole(String userrole) {
		this.userrole = userrole;
	}
}
